package com.ilearn.iodata.iolingo.service.processor.core.query;

import java.util.Map;

import com.ilearn.iodata.iolingo.service.metadata.core.edm.mapper.api.GenericAssociationPath;
import com.ilearn.iodata.iolingo.service.processor.core.converter.GenericExpandResult;
import com.ilearn.iodata.iolingo.service.processor.core.converter.GenericTupleChildConverter;
import org.apache.olingo.commons.api.data.EntityCollection;
import org.apache.olingo.server.api.ODataApplicationException;

public interface GenericConvertableResult {

  Map<String, EntityCollection> asEntityCollection(final GenericTupleChildConverter converter) throws ODataApplicationException;

  void putChildren(final Map<GenericAssociationPath, GenericExpandResult> childResults) throws ODataApplicationException;

}
